import request from '@/utils/request';
import type { MenuRaw } from '@/types/sys/menu';

export const getRoutesApi = (): Promise<MenuRaw[]> => {
  return request({
    url: '/getRoutes',
    method: 'get'
  });
};
